package com.ych.modules.base.dbEntity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2021/3/29
 * Time: 11:10
 * Description:
 */
@Data
@TableName("t_sys_communique")
@ApiModel(value = "TSysCommuniqueEntity", description = "数据库-系统公告表")
public class TSysCommuniqueEntity extends AbstractPageEntity {
    @TableId(value = "id")
    @ApiModelProperty(value = "主键", dataType = "String", notes = "主键")
    private String id;

    @TableField("title")
    @ApiModelProperty(value = "标题", dataType = "String", notes = "标题")
    private String title;

    @TableField("detail")
    @ApiModelProperty(value = "详情", dataType = "String", notes = "详情")
    private String detail;

    @TableField("create_time")
    @ApiModelProperty(value = "创建时间", dataType = "Date", notes = "创建时间")
    private Date createTime;

    @TableField("create_user_id")
    @ApiModelProperty(value = "创建用户id", dataType = "String", notes = "创建用户id")
    private String createUserId;

    @TableField("status")
    @ApiModelProperty(value = "状态，0：禁用 1：启用", dataType = "String", notes = "状态，0：禁用 1：启用")
    private String status;
}
